﻿namespace ETModel
{
    /// <summary>
    /// 普通消息 包含操作码Opcode 和Message
    /// </summary>
	public struct MessageInfo
	{
		public ushort Opcode { get; }
		public object Message { get; }

		public MessageInfo(ushort opcode, object message)
		{
			this.Opcode = opcode;
			this.Message = message;
		}
	}
}
